<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015-5-23
 * Time: 13:36
 */

namespace doumiaoduo\layer;

use yii\web\AssetBundle;
use yii\web\View;

class LayerAsset extends AssetBundle{

    public $sourcePath = '@doumiaoduo/layer/assets';

    public $css = [
        'skin/layer.css',
    ];

    public $jsOptions = ['position' => View::POS_HEAD];

    public $depends = [
        'yii\web\YiiAsset',
    ];

    public function init(){
        $this->js=['layer.js'];
    }


}